package xcmg.device.dao.mapper.ratingManager;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xcmg.device.dao.entity.ratingManager.RatingConfigTimeDO;
@Mapper
@Repository
public interface RatingConfigTimeDOMapper {
    int deleteByPrimaryKey(String id);

    int insert(RatingConfigTimeDO record);

    int insertSelective(RatingConfigTimeDO record);

    RatingConfigTimeDO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RatingConfigTimeDO record);

    int updateByPrimaryKey(RatingConfigTimeDO record);

    RatingConfigTimeDO selectByRatingIdType(@Param("ratingId") String id,@Param("type") Integer type);
}